package com.shengqin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shengqin.common.pojo.CommonPage;
import com.shengqin.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author Rui.Zhou
 * @since 2023-12-05
 */
public interface IUserService extends IService<User> {

    Page<User> getPage(CommonPage<User> pageParam);

    User getByAccount(String account);

    List<User> listByRoleId(Integer roleId);
}
